<?php /* Smarty version Smarty-3.1.6, created on 2013-03-26 10:39:30
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/ClientIni/add.tpl" */ ?>
<?php /*%%SmartyHeaderCode:87017579751510a62a4e3d4-87881847%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a84b57f2a0eb87c9af04c4287de59c0de59fcb5b' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/ClientIni/add.tpl',
      1 => 1364183646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '87017579751510a62a4e3d4-87881847',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'comp_type' => 0,
    'lang' => 0,
    'this_day' => 0,
    'rs' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_51510a62ab640',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51510a62ab640')) {function content_51510a62ab640($_smarty_tpl) {?><?php if (!is_callable('smarty_function_wz')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.wz.php';
?><form action="<?php echo U('ClientIni/insert');?>
" method="POST" name="Basic_ClientOtherArrearages" onsubmit="return false">
<?php echo smarty_function_wz(array('action'=>"save,list,reset"),$_smarty_tpl);?>

<div class="add_box">
  <table cellspacing="0" cellpadding="0" class="add_table">
		<tbody>
			<input type="hidden" name="id" id="id" value="" class="spc_input" > 
			<input type="hidden" name="comp_type" id="comp_type" value="<?php echo $_smarty_tpl->tpl_vars['comp_type']->value;?>
" class="spc_input" > 
		<tr>
			<td class="width10"><?php echo $_smarty_tpl->tpl_vars['lang']->value['client_name'];?>
：</td>
			<td class="t_left">
			<input type="hidden" name="comp_id" id="comp_id" value="<?php echo $_POST['query']['id'];?>
" >
			<input type="text" name="comp_name" id='comp_name' url="<?php echo U('AutoComplete/client');?>
" jqac>__*__ 
			</td>
		</tr>
		<?php echo smarty_function_company(array('type'=>"tr",'title'=>$_smarty_tpl->tpl_vars['lang']->value['basic_name'],'hidden'=>array('name'=>'basic_id','id'=>'basic_id'),'name'=>'basic_name','require'=>"1"),$_smarty_tpl);?>
  
		<tr>
	      <td><?php echo $_smarty_tpl->tpl_vars['lang']->value['date'];?>
：</td>
	      <td class="t_left">
	      <input type="text" name="paid_date" value="<?php echo $_smarty_tpl->tpl_vars['this_day']->value;?>
" class="Wdate spc_input" onClick="WdatePicker()"/>__*__</td>
	    </tr> 
	    <?php echo smarty_function_currency(array('data'=>C('CLIENT_CURRENCY'),'name'=>"currency_id",'id'=>"currency_id",'value'=>$_smarty_tpl->tpl_vars['rs']->value['currency_id'],'type'=>'tr','title'=>$_smarty_tpl->tpl_vars['lang']->value['currency_name'],'require'=>"1"),$_smarty_tpl);?>
 
	    <tr>
	      <td ><?php echo $_smarty_tpl->tpl_vars['lang']->value['money'];?>
：</td>
	      <td class="t_left">
	      <input type="text" name="money" id="money" value="" class="spc_input">__*__</td>
    	</tr>  
		<tr>
			<td valign="top"><?php echo $_smarty_tpl->tpl_vars['lang']->value['comments'];?>
：</td>
			<td class="t_left"><textarea name="comments" class="textarea_height80"><?php echo $_smarty_tpl->tpl_vars['rs']->value['comments'];?>
</textarea></td>
		</tr>
		</tbody>
		</table>
</div>
</form>
<?php }} ?>